-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
BUG: If both index and axis are passed to DataFrame.drop, raise a clear error #61855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: If both index and axis are passed to DataFrame.drop, raise a clear error #61855
Conversation
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
@camriddell I have made the changes. |
Can @rhshadrach take a look and provide some guidance? If we want to maintain backwards compat. then this is likely the final form of this PR. However there is a deeper issue that is not present in either (thanks for finding these @khemkaran10) DataFrame.reindex, DataFrame.rename. Namely, those methods have a default of |
LGTM cc @rhshadrach |
Thanks @khemkaran10! |
Uh oh!
There was an error while loading. Please reload this page.